﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;

using Storm;
using Storm.Plugins;
using Storm.Plugins.Attributes;
using Storm.Plugins.Classes;
using Storm.Plugins.Enums;
using Storm.Plugins.Interfaces;

using Plugin1;

namespace PluginTest
{
	public partial class Form1 : Form
	{
		PluginManager pluginManager;

		public Form1()
		{
			InitializeComponent();
			pluginManager = new PluginManager(this, Environment.CurrentDirectory);

			pluginManager.LoadPlugins();
			foreach (IPlugin plugin in pluginManager.LoadedPlugins)
				pluginManager.EnablePlugin(plugin, true);
		}
	}
}
